package com.uuah.server.exception.transport;

import com.uuah.config.i18n.Message;
import com.uuah.server.api.IUuahMessage;
import com.uuah.server.api.endpoint.IUuahEndpoint;
import com.uuah.server.exception.channel.RoutingException;

/**
 * <code>DispatchException</code> is thrown when an endpoint dispatcher fails to
 * send, dispatch or receive a message.
 *
 * <p>
 * update record:updator，update time，update content and version
 * </p>
 *
 * @author <a href="jonny_quan@hotmail.com">jonny</a>
 * @date 2009 2009-3-27 下午01:44:26
 * @version 1.0.0
 */
public class DispatchException extends RoutingException {

	private static final long serialVersionUID = -8204621943732496605L;

	public DispatchException(IUuahMessage message, IUuahEndpoint endpoint) {
		super(message, endpoint);
	}

	public DispatchException(IUuahMessage umoMessage, IUuahEndpoint endpoint,
			Throwable cause) {
		super(umoMessage, endpoint, cause);
	}

	public DispatchException(Message message, IUuahMessage umoMessage,
			IUuahEndpoint endpoint) {
		super(message, umoMessage, endpoint);
	}

	public DispatchException(Message message, IUuahMessage umoMessage,
			IUuahEndpoint endpoint, Throwable cause) {
		super(message, umoMessage, endpoint, cause);
	}
}
